package com.laivi.basic.model.syncdata;

import com.laivi.basic.model.sql.DBPool;

public class Database {
	protected String url;
	protected String user;
	protected String password;
	
	protected DBPool pool;
	
	public Database() {
		super();
	}
	
	/**
	 * @param driver
	 * @param url
	 * @param user
	 * @param password
	 */
	public Database(String url, String user, String password) {
		super();
		this.url = url;
		this.user = user;
		this.password = password;
	}
	
	public Database(DBPool pool) {
		super();
		this.pool = pool;
	}

	public String getUrl() {
		return url;
	}
	
	public void setUrl(String url) {
		this.url = url;
	}
	
	public String getUser() {
		return user;
	}
	
	public void setUser(String user) {
		this.user = user;
	}
	
	public String getPassword() {
		return password;
	}
	
	public void setPassword(String password) {
		this.password = password;
	}

	public DBPool getPool() {
		return pool;
	}

	public void setPool(DBPool pool) {
		this.pool = pool;
	}
}
